ROSE  0.11.145.0
Public Types | Public Member Functions | List of all members
Sawyer::Error< char[N]> Class Template Reference

Description

template<size_t N>
class Sawyer::Error< char[N]>

Definition at line 201 of file Result.h.

Public Types

using Value = std::string
 

Public Member Functions

 Error (const Error &other)
 Copy constructor. More...
 
 Error (const Value &error)
 Construct from a value. More...
 
const Value & operator* () const
 Dereference to obtain error. More...
 
const Value * operator-> () const
 Dereference to obtain pointer to error. More...
 
Erroroperator= (const Error &other)
 Assignment.
 
Erroroperator= (const Value &error)
 Assignment.
 

Constructor & Destructor Documentation

template<size_t N>
Sawyer::Error< char[N]>::Error ( const Error< char[N]> &  other)
inlineexplicit

Copy constructor.

Definition at line 220 of file Result.h.

template<size_t N>
Sawyer::Error< char[N]>::Error ( const Value &  error)
inlineexplicit

Construct from a value.

Definition at line 224 of file Result.h.

Member Function Documentation

template<size_t N>
const Value& Sawyer::Error< char[N]>::operator* ( ) const
inline

Dereference to obtain error.

Definition at line 241 of file Result.h.

template<size_t N>
const Value* Sawyer::Error< char[N]>::operator-> ( ) const
inline

Dereference to obtain pointer to error.

Definition at line 246 of file Result.h.


The documentation for this class was generated from the following file: